import Main from '../../views/main.vue'

export default {
    path:'/speech',
    component:Main,
    redirect:'/speech/dormitory',
    meta: {
        title: '语音预警',
        icon: 'PictureFilled'
    },
    children:[
        {
            path:'/speech/dormitory',
            component: () => import('../../views/speech/dormitory.vue'),
            meta: {
                title: '宿舍预警',
                icon: 'PictureFilled'
            },
        },
        {
            path:'/speech/toilet',
            component: () => import('../../views/speech/toilet.vue'),
            meta: {
                title: '厕所预警',
                icon: 'PictureFilled'
            },
        },
        {
            path:'/speech/keyword',
            component: () => import('../../views/speech/keyword.vue'),
            meta: {
                title: '关键词设置',
                icon: 'PictureFilled'
            },
        },
        {
            path:'/speech/deviceManagement',
            component: () => import('../../views/speech/deviceManagement.vue'),
            meta: {
                title: '设备管理',
                icon: 'PictureFilled'
            },
        },
        {
            path:'/speech/voiceAlarm',
            component: () => import('../../views/speech/voiceAlarm.vue'),
            meta: {
                title: '语音报警',
                icon: 'PictureFilled'
            },
        },
    ]
} 